package com.sf.mapper;

import com.sf.domain.Department;

import java.util.List;

public interface DepartmentMapper {
    //新增
    void insert(Department department);

    //更新
    void update(Department department);

    //根据id删除
    void delete(Long id);

    //根据id 查询部门
    Department get(Long id);

    //查询所有部门信息
    List<Department> list();
}
